@import "reset.scss";

label{
    pointer-events: none;
}

.mi-sider-layout{

    .mi-sider-sider{
        width: 375px;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        box-sizing: border-box;

        .sider-box{
            width: 100%;
            height: 100%;

            .sider-img{
                width: 100%;
                background-image: url(../images/banner.4994397e.jpg);
            }
        }
    }
    .mi-sider-content{
        margin-left: 375px;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;

        .mi-sider-scroll{
            height: 100%;
            overflow: auto;
            box-sizing: border-box;

            .mi-layout{
                position: relative;
                min-height: 100vh;
                padding-bottom: 40px;

                .mi-layout-header{
                    padding: 20px;
                    overflow: hidden;

                    .mi-layout-title{
                        float: left;
                        height: 40px;
                        font-size: 26px;
                        font-weight: 500;
                        color: #333;
                        line-height: 40px;
                        display: flex;

                        img{
                            width: 40px;
                            height: 40px;
                            margin-right: 10px;
                        }
                    }
                    .mi-nav{
                        float: right;

                        .divider{
                            vertical-align: middle;
                            display: inline-block;
                            margin-left: 10px;
                            margin-right: 10px;
                            height: 14px;
                            width: 0;
                            border-right: 1px solid #ddd;
                        }
                        .mi-nav-item{
                            margin-left: 10px;
                            margin-right: 10px;
                            display: inline-block;
                            height: 40px;
                            font-size: 14px;
                            font-weight: 400;
                            color: #838383;
                            line-height: 40px;

                            &:hover{
                                color: #f60;
                            }
                        }
                    }
                }
                .mi-layout-container{
                    position: relative;
                    text-align: center;
                    padding-top: 20px;
                    box-sizing: border-box;

                    .toast{
                        width: 100%;
                        height: 627px;
                        position: absolute;
                    }
                    .card{
                        text-align: left;
                        display: inline-block;
                        overflow: hidden;
                        box-sizing: border-box;
                        border-radius: 4px;
                        padding: 40px 45px;
                        position: relative;
                        margin: 0 auto 80px;
                        min-width: 450px;
                        box-shadow: 0 20px 50px 0 hsl(0deg 0% 64% / 10%);

                        .switch{
                            position: absolute;
                            right: 0;
                            top: 0;
                            // width: 64px;
                            // height: 64px;
                            opacity: .4;
                            transition: all .3s cubic-bezier(.645,.045,.355,1);
                            border-color: #ff5c00 #ff5c00 rgba(0,0,0,0) rgba(0,0,0,0);
                            border-style: solid;
                            border-width: 32px;
                            background-size: cover;

                            .mi-qr-login-switch__icon{
                                position: absolute;
                                font-size: 36px;
                                top: -22px;
                                right: -22px;
                                line-height: 0;

                                svg{
                                    display: inline-block;
                                }
                            }
                        }
                        .ant-tabs{
                            width: 360px;
                            box-sizing: border-box;
                            margin: 0;
                            padding: 0;
                            color: rgba(0,0,0,.65);
                            font-size: 14px;
                            line-height: 1.5;
                            position: relative;

                            .ant-tabs-bar{
                                border-bottom: none;
                                margin: 0 0 10px;

                                .ant-tabs-nav-container{
                                    font-size: 22px;
                                    font-weight: 400;
                                    position: relative;
                                    box-sizing: border-box;
                                    margin-bottom: -1px;
                                    line-height: 1.5;
                                    white-space: nowrap;

                                    .ant-tabs-tab{
                                        padding: 0 0 4px;
                                        margin: 0 20px 0 0;
                                        height: 41px;
                                        line-height: 52px;
                                        display: inline-block;
                                        color: rgba(0,0,0,.4);
                                    }
                                    .active{
                                        font-weight: 500;
                                        color: #333;
                                    }
                                    .ant-tabs-ink-bar{
                                        display: block;
                                        transform: translate3d(0px 0px 0px);
                                        width: 44px;
                                        height: 4px;
                                        border-radius: 2px;
                                        position: absolute;
                                        bottom: 1px;
                                        left: 70px;
                                        background-color: #ff5c00;
                                    }
                                }
                            }
                        }
                        .ant-tabs-content{
                            display: flex;
                            flex-direction: row;
                            width: 100%;
                            box-sizing: border-box;

                            .ant-tabs-tabpane{
                                flex-shrink: 0;
                                width: 100%;
                                opacity: 1;
                                transition: opacity .45s;

                                .mi-form{

                                    .mi-form-con{
                                        min-height: 375px;
                                        padding: 20px 2px 0;

                                        .user{
                                            position: relative;
                                            height: auto;
                                            display: block;
                                            box-sizing: border-box;
                                            background-color: #fcf2f3;
                                            transition: all 0.3s linear;

                                            .mi-input{
                                                height: 60px;
                                                border: none;
                                                font-size: 17px;
                                                color: #333;
                                                line-height: 20px;
                                                padding: 30px 20px 10px;
                                                box-sizing: border-box;
                                                width: 100%;
                                                background-color: rgba(0,0,0,0);
                                            }
                                            .user-focus{
                                                top: 6px !important;
                                                font-size: 12px !important;
                                                color: #aaa;
                                            }
                                            .user-lab{
                                                position: absolute;
                                                left: 20px;
                                                top: 20px;
                                                height: 20px;
                                                font-weight: 400;
                                                font-size: 17px;
                                                color: rgba(0,0,0,.4);
                                                line-height: 20px;
                                                transition: all 0.2s linear;
                                            }
                                            
                                            .userTips{
                                                color: #f04645;
                                                margin-top: 10px;
                                                font-size: 12px;
                                                line-height: 20px;
                                                box-sizing: border-box;
                                                background-color: #fff;
                                                display: none;
                                            }
                                        }
                                        .pwd{
                                            margin-top: 20px;
                                            width: 100%;
                                            box-sizing: border-box;
                                            position: relative;
                                            background-color: #fcf2f3;

                                            .pwd-inp{
                                                display: flex;

                                                .mi-input{
                                                    height: 60px;
                                                    border: none;
                                                    font-size: 17px;
                                                    color: #333;
                                                    line-height: 20px;
                                                    padding: 30px 20px 10px;
                                                    box-sizing: border-box;
                                                    // width: 100%;
                                                    background: #fcf2f3;
                                                    flex: 1;
                                                }
                                                .pwd-svg{
                                                    display: table-cell;
                                                    vertical-align: middle;
                                                    cursor: pointer;
                                                    width: 60px;
                                                    height: 60px;

                                                    svg{
                                                        color: rgba(0,0,0,.25);
                                                        transition: all .3s cubic-bezier(.645,.045,.355,1);
                                                        vertical-align: middle;
                                                        margin: 10px 20px;
                                                        width: 20px;
                                                        height: 20px;
                                                    }
                                                }
                                            }
                                            label{
                                                position: absolute;
                                                left: 20px;
                                                top: 20px;
                                                height: 20px;
                                                font-weight: 400;
                                                font-size: 17px;
                                                color: rgba(0,0,0,.4);
                                                line-height: 20px;
                                                transition: all 0.2s linear;
                                            }
                                            .pwd-focus{
                                                top: 6px !important;
                                                font-size: 12px !important;
                                                color: #aaa;
                                            }
                                            .userTips{
                                                color: #f04645;
                                                margin-top: 10px;
                                                font-size: 12px;
                                                line-height: 20px;
                                                box-sizing: border-box;
                                                background-color: #fff;
                                                display: none;
                                            }
                                        }
                                        .code{
                                            margin-top: 20px;
                                            width: 100%;
                                            box-sizing: border-box;
                                            position: relative;
                                            background-color: #fcf2f3;

                                            .code-inp{
                                                display: flex;

                                                .mi-input{
                                                    height: 60px;
                                                    border: none;
                                                    font-size: 17px;
                                                    color: #333;
                                                    line-height: 20px;
                                                    padding: 30px 20px 10px;
                                                    box-sizing: border-box;
                                                    // width: 100%;
                                                    background: #fcf2f3;
                                                    flex: 1;
                                                }
                                                .code-svg{
                                                    display: table-cell;
                                                    vertical-align: middle;
                                                    cursor: pointer;
                                                    width: 60px;
                                                    height: 60px;
                                                    line-height: 60px;
                                                    font-size: 17px
                                                }
                                            }
                                            label{
                                                position: absolute;
                                                left: 20px;
                                                top: 20px;
                                                height: 20px;
                                                font-weight: 400;
                                                font-size: 17px;
                                                color: rgba(0,0,0,.4);
                                                line-height: 20px;
                                                transition: all 0.2s linear;
                                            }
                                            .code-focus{
                                                top: 6px !important;
                                                font-size: 12px !important;
                                                color: #aaa;
                                            }
                                            .userTips{
                                                color: #f04645;
                                                margin-top: 10px;
                                                font-size: 12px;
                                                line-height: 20px;
                                                box-sizing: border-box;
                                                background-color: #fff;
                                                display: none;
                                            }
                                        }
                                        .login{
                                            margin-top: 20px;
                                            margin-bottom: 10px;
                                            width: 100%;
                                            color: #fff;
                                            background-color: #ff5c00;
                                            position: relative;
                                            display: inline-block;
                                            vertical-align: top;
                                            text-align: center;
                                            border: none;
                                            overflow: hidden;
                                            text-overflow: ellipsis;
                                            white-space: nowrap;
                                            padding: 0 20px;
                                            font-size: 18px;
                                            font-weight: 400;
                                            line-height: 60px;
                                            height: 60px;
                                            border-radius: 4px;
                                            transition: all .3s cubic-bezier(.645,.045,.355,1);
                                        }
                                    }
                                    .mi-sns-logo{
                                        box-sizing: border-box;
                                        color: rgba(0,0,0,.65);
                                        font-size: 14px;
                                        line-height: 1.5;

                                        .mi-sns-tit{
                                            text-align: center;
                                            font-size: 17px;
                                            font-weight: 400;
                                            color: #aaa;
                                            line-height: 40px
                                        }
                                        ul{
                                            display: flex;
                                            justify-content: center;

                                            li{
                                                margin: 0 auto;
                                                font-size: 40px;
                                                width: 46px;
                                                height: 46px;
                                                border-radius: 23px;
                                                overflow: hidden;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                .mi-copyright{
                    padding: 0 20px;
                    text-align: center;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    left: 0;
                    right: 0;
                    position: absolute;
                    bottom: 20px;
                    color: #999;
                    font-size: 12px;
                }
            }
        }
    }
}